package fxc.example;

import org.apache.commons.math3.distribution.NormalDistribution;

public class NormalDistributionVariable extends Variable{
    Double mean;
    Double sd;

    public NormalDistributionVariable(double mean, double sd){
        this.mean = mean;
        this.sd = sd;
        normalDistribution = new NormalDistribution(mean,sd);
    }

    NormalDistribution normalDistribution;
    @Override
    Object getDistribution() {
        return normalDistribution;
    }

    @Override
    String getDistributionType() {
        return "normalDistribution";
    }
}
